@layout("/backend/common/_container.html"){

<div class="dhcc-form">
	<form method='post' id="contraindicationForm" name="contraindicationForm"  enctype="multipart/form-data">
		<input class='textbox' id="contraindicationId" type="hidden" value="${contraindication.id}">
		<div class="form-group has-feedback" style="margin-top:15px">
			<label class="lab" >禁忌症</label>
			<div class="ele">
				<input class="textbox" id="name"  name="name"   value="${contraindication.name}"  style="width: 500px">
			</div>
		</div>
		<div class="form-group has-feedback" style="margin-top:15px">
			<label class="lab" >代码</label>
			<div class="ele">
				<input class="textbox" id="code"  name="code" value="${contraindication.code}"  style="width: 500px" >
			</div>
		</div>
		<div class="form-group has-feedback" style="margin-top:15px">
			<label class="lab" >描述</label>
			<div class="ele">
				<input class="textbox" id="info"  name="info" value="${contraindication.info}"  style="width: 500px">
			</div>
		</div>
		<div class="form-group has-feedback">
			<label class="lab">文献</label>
			<div class="ele">
				<input class="textbox" id="source"  name="source"  value="${contraindication.source}"  style="width: 500px">
			</div>
		</div>
<!--		<div class="form-group has-feedback" style="margin-top:15px">-->
<!--			<label class="lab" >所属病种</label>-->
<!--			<div class="ele">-->
<!--				<select style="width: 500px"  id="entityBox"  ></select>-->
<!--				<input class='textbox' id="entityIdList" type="hidden" value="${contraindication.entityIdList}" >-->
<!--			</div>-->
<!--		</div>-->
		<div class="form-group has-feedback" style="margin-top:20px">
			<label class="lab" >是否启用</label>
			<div class="ele">
				<div id="active" class="hisui-switchbox  "
					 data-options="onText:'有',offText:'无',size:'small',animated:true,onClass:'primary',offClass:'gray',
								 checked:${contraindication.active}==1?true:false ">
				</div>
			</div>
		</div>
		<div class="toolbar">
			<#Button name="保存" id="btnSave" icon="icon-w-save"
			clickFun="ContraindicationInfo.editSubmit()"/>
			<#Button name="关闭" id="btnSave" icon="icon-w-close" btnCss="l-bt-red"
			clickFun="ContraindicationInfo.close()"/>
		</div>
	</form>
</div>
<script src="${ctxPath}/static/backend/sdc/contraindication/contraindication_info.js"></script>
@}
